/*
 * QuitaTildes.java
 *
 * Created on 28 de junio de 2006, 17:25
 */

package Modelo;

/**
 *
 * @author  lebela
 */
public   class   QuitaTildes {
   
    /** Creates a new instance of QuitaTildes */
   public QuitaTildes() {
       
    }
    
    public static String Correr(String p_palabra){
        String palabra = p_palabra;
        palabra = palabra.replace('á','a');
        palabra = palabra.replace('é','e');
        palabra = palabra.replace('í','i'); 
        palabra = palabra.replace('ó','o');
        palabra = palabra.replace('ú','u'); 
        
        return palabra;
    } 
    
     public static void main(String[] args) {
         
         QuitaTildes qt =new  QuitaTildes();
         System.out.println(qt.Correr("AnDRés CáldeRón"));
    }
    
}
